Replace Nested Conditional with Guard Clauses
The book has now been published and the content of this chapter has likely changed substanstially.Use guard clauses for all the special cases.
A method has conditional behavior that does not make clear the normal path of execution.
Use guard clauses for all the special cases.
Further Reading
From [Ref].Copyright © 2003-2008 Gerard Meszaros all rights reserved